<%@ page contentType="text/html; charset=utf-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>爱购物-商城 - 新闻</title>
	<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/static/css/style.css"/>
</head>
<body>
<c:import url="/front/header"/>
<div id="position" class="wrap">
	您现在的位置：<a href="${pageContext.request.contextPath}/index">爱购物-商城</a> &gt; 新闻
</div>
<div id="main" class="wrap clearfix">
	<div class="left-side">
		<div class="news-list">
			<h4>新闻动态</h4>
				<ul>
					<c:forEach var="n" items="${newsList}">
						<li><a href="${pageContext.request.contextPath}/news?id=${n.id }">${n.title }</a></li>
					</c:forEach>
				</ul>
		</div>
		<div class="spacer"></div>
	</div>
	<div id="news" class="right-main">
		<h1>${news.title }</h1>
		<div class="content">
			${news.content}
		</div>
	</div>
</div>
<c:import url="/static/page/footer.jsp"/>
</body>
</html>
